package com.sss.hloster0404;

import java.util.Scanner;

public class TestBubbleSort {

	public static void main(String[] args) {
		test01();
	}

	private static void test01() {
		Scanner sc = new Scanner(System.in);
		System.out.println("需要输入的元素的个数为：");
		int sum = sc.nextInt();
		int a[] = new int[sum];
		for (int i = 0; i < sum; i++) {
			System.out.println("请输入第" + (i + 1) + "个元素：：");
			a[i] = sc.nextInt();
		}
		BubbleSort bb = new BubbleSort(a);
	}
}
